package com.lanbu.system.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanbu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanbu.common.annotation.Excel;

/**
 * 情绪分析对象 emotion_analysis_results
 *
 * @author lanbu
 * @date 2024-12-13
 */
@ApiModel(value = "情绪分析实体对象")
public class EmotionAnalysisResults extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 学生名字 */
    @ApiModelProperty(value = "学生名字")
    @Excel(name = "学生名字")
    private String name;

    /** 学生id */
    @ApiModelProperty(value = "学生id")
    @Excel(name = "学生id")
    private String Student;

    /** 情绪 */
    @ApiModelProperty(value = "情绪")
    @Excel(name = "情绪")
    private String emotion;

    /** 摄像头ip */
    @ApiModelProperty(value = "摄像头ip")
    @Excel(name = "摄像头ip")
    private String cameraIp;

    /** 图片base64 */
    @ApiModelProperty(value = "图片base64")
    @Excel(name = "图片base64")
    private String imageBase64;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestamp;

    /** 显示图片 */
    @ApiModelProperty(value = "显示图片")
    @Excel(name = "显示图片")
    private String url;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStudent(String Student)
    {
        this.Student = Student;
    }

    public String getStudent()
    {
        return Student;
    }
    public void setEmotion(String emotion)
    {
        this.emotion = emotion;
    }

    public String getEmotion()
    {
        return emotion;
    }
    public void setCameraIp(String cameraIp)
    {
        this.cameraIp = cameraIp;
    }

    public String getCameraIp()
    {
        return cameraIp;
    }
    public void setImageBase64(String imageBase64)
    {
        this.imageBase64 = imageBase64;
    }

    public String getImageBase64()
    {
        return imageBase64;
    }
    public void setTimestamp(Date timestamp)
    {
        this.timestamp = timestamp;
    }

    public Date getTimestamp()
    {
        return timestamp;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("Student", getStudent())
                .append("emotion", getEmotion())
                .append("cameraIp", getCameraIp())
                .append("imageBase64", getImageBase64())
                .append("timestamp", getTimestamp())
                .append("url", getUrl())
                .toString();
    }
}
